package com.eleadmin.common.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.eleadmin.common.core.web.PageResult;
import com.eleadmin.common.system.entity.Leavemessage;
import com.eleadmin.common.system.param.LeavemessageParam;

import java.util.List;

/**
 * Service
 *
 * @author EleAdmin
 * @since 2024-02-26 22:09:04
 */
public interface LeavemessageService extends IService<Leavemessage> {

    /**
     * 分页关联查询
     *
     * @param param 查询参数
     * @return PageResult<Leavemessage>
     */
    PageResult<Leavemessage> pageRel(LeavemessageParam param);

    /**
     * 关联查询全部
     *
     * @param param 查询参数
     * @return List<Leavemessage>
     */
    List<Leavemessage> listRel(LeavemessageParam param);

    /**
     * 根据id查询
     *
     * @param id 
     * @return Leavemessage
     */
    Leavemessage getByIdRel(Integer id);

}
